<#import "/include/ui.ftl" as blue />

	<div class="am-u-sm-12">
		<table class="am-table am-table-striped am-table-hover">
			<thead>
			<tr>
				<th width="60">序号</th>
				<th width="100">作者</th>
				<th>文档标题</th>
				<th width="200">创建时间</th>
				<th width="100">查看次数</th>
				<th width="100">评论次数</th>
				<th width="80">文件数</th>
				<th width="100">文件大小</th>
				<th width="80">排序</th>
				<th width="80">状态</th>
				<th width="150">操作</th>
			</tr>
			</thead>
			<tbody>
			<#list page.objectList as vo>
			<tr>
				<td>${vo_index+1}</td>
				<td title="${vo.author!}">${vo.author!}</td>
				<td title="${vo.title!}" <#if vo.color??>style="color: ${vo.color}"</#if>>${vo.title!}</td>
				<td>${(vo.createTime?datetime)!}</td>
				<td>${vo.views!}</td>
				<td>${vo.comments!}</td>
				<td>${vo.files!}</td>
				<td>${vo.fileSizeName!}</td>
				<td>${vo.sort!}</td>
				<td>${vo.state!}</td>
				<td>
					<div class="am-btn-group">
						<a href="${path}/cms/doc/doc_get?id=${vo.id}" class="am-btn am-btn-primary am-btn-sm am-radius">编辑</a>
						<a href="${path}/cms/doc/doc_comment_list?docId=${vo.id}" class="am-btn am-btn-danger am-btn-sm am-radius">评论</a>
					</div>
				</td>
			</tr>
			</#list>
			</tbody>
		</table>
	</div>
	
	<@blue.pagebar page=page url="/cms/doc/doc_list" />